{% load i18n %}

<div class="pannel">
 <h1>403</h1>
  {% if exception %}
  <div class="no-permit">{{ exception }}</div>
  {% else %}
  <div class="no-permit">{% trans "禁止访问" %}</div>
  {% endif %}


  <div style="margin-top: 40px">
  <!--<div> Access Forbidden You can try the following:  Switch Account</div>-->
    <div>{% trans "您可以试试以下操作" %} :</div>
    <ul>
        <!--{{ request.META.TMP }}-->
      <li><a href='{{ request.engin.login_url|default:"/accounts/login" }} '>{% trans "切换账号" %}</a></li>
      <!--<li>Contact your administrator to promote your permissions</li>-->
      <li>{% trans "联系管理员提升您的权限" %}</li>
    </ul>

  </div>
</div>



<style>
.pannel{
  /*background-color: #0a6ebd;*/
  /*color: white;*/
  width: 80%;

  margin: auto;
  padding: 20px;
}
  .title{

  }
  .no-permit{
    color: red;
  }
</style>